//引入mock
import Mock from 'mockjs'
//引入写好的json文件
import banner from './banner.json'
import floor from './floor.json'

//调用Mock :形参一路径,形参二接口返回数据
Mock.mock("/mock/banner",{code:200,data:banner})
Mock.mock("/mock/floor",{code:200,data:floor})